package me.zhengjie.modules.sync.pull;

import com.qiaofang.applet.common.constant.SyncTypeEnum;
import lombok.extern.slf4j.Slf4j;
import me.zhengjie.modules.sync.PullBase;
import org.springframework.stereotype.Service;

import static me.zhengjie.modules.quartz.service.constants.SyncConstants.ESTATE_API;
import static me.zhengjie.modules.quartz.service.constants.SyncConstants.ESTATE_PHOTO_API;

@Service
@Slf4j
public class EstatePhotoSync extends PullBase {

    @Override
    protected String getApiUrl() {
        return ESTATE_PHOTO_API;
    }

    @Override
    protected String dataType() {
        return SyncTypeEnum.ESTATE_PHOTO.getSyncType();
    }
}
